package com.lely.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author lely
 * @date 2021/4/15 22:09
 */
@Data
public class Page extends User{
    private String ids;                     //ids
    private Integer pageNum;                //第几页
    private Integer pageSize;               //每页记录数
    private Integer start;                  //开始
    private String sortBy;                  //排序字段
    private long total;                     //总记录条数

    @JsonFormat(timezone = "GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @JsonFormat(timezone = "GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;


}
